<?php
session_start();
ob_start();
date_default_timezone_set("Asia/Shanghai");
require "../function/mysql.php";
require "../function/cookie.php";
require "../function/data.php";
require "../function/function.php";
require "../function/function_add.php";
require "../function/function_batch.php";
require "../function/function_addpage.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="overflow: hidden;">
<head>
	<meta http-equiv="Content-type" Content="text/html;charset=utf-8" />
	<title>添加挂机记录</title>
	<link href="../css/style.css" type="text/css" rel="stylesheet">
</head>
	<body  class="bgpages">
		<div id="pages-batch">
			<div id="pages-batch-title">
				<fieldset>
					<legend>批量挂Q分析系统</legend>
					<?php
					if ($mysqlpass!=$cookiepass){
					echo "您登录超时!";
					}elseif ($userdata['tip']==0){
					echo tipno();
					}elseif($userinfo['qqnum']>=$userinfo['quota']){
					echo batchqqbaopeng();
					}else{
					$batchnum=$_SESSION["BatchQQnum"]-1;
					if ($batchnum==-1){
					batchAddyes();
					}else{
					batchaddpage($batchnum,$_SESSION["BatchAddQQ-".$batchnum.""],$_SESSION["BatchAddPW-".$batchnum.""],$cookieuser,$userinfo['qqnum']);
					}
					}
					?>
				</fieldset>
			</div>
		</div>
	</body>
</html>